<template>
  <div id="app">
    <!-- 导航栏 -->
    <Navigation />

    <!-- 页面内容区域 -->
    <div class="pt-16 min-h-screen">1111
      <router-view />
    </div>

    <!-- 底部信息 -->
    <footer class="bg-gray-800 text-white py-12">
      <div class="container mx-auto px-4">
        <div class="flex flex-col md:flex-row justify-between items-center">
          <div class="mb-6 md:mb-0">
            <h2 class="text-xl font-bold mb-2">VueNav</h2>
            <p class="text-gray-400">现代化的Vue导航组件</p>
          </div>
          <div class="flex space-x-6">
            <a href="#" class="text-gray-400 hover:text-white transition-colors">
              <i class="fa fa-github text-xl"></i>
            </a>
            <a href="#" class="text-gray-400 hover:text-white transition-colors">
              <i class="fa fa-twitter text-xl"></i>
            </a>
            <a href="#" class="text-gray-400 hover:text-white transition-colors">
              <i class="fa fa-linkedin text-xl"></i>
            </a>
          </div>
        </div>
        <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
          <p>&copy; 2025 VueNav. 保留所有权利。</p>
        </div>
      </div>
    </footer>
  </div>
</template>

<script>
import { getYdPortalList } from "@/api/demo";
import Navigation from './components/Navigation.vue';


export default {
  name: 'Demo',
  data() {
    return {
      title: process.env.VUE_APP_TITLE,
    };
  },
  created() {
  },
  components: {
    Navigation
  },
  computed: {
  },
  methods: {
    handleClick() {
      getYdPortalList().then(res => {
        console.log(res);
      });
    }
  }
};
</script>

<style lang="scss" scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
